<?php /* Smarty version Smarty-3.1.8, created on 2012-10-27 18:03:23
         compiled from "D:\personalweb\personal\tomatoframework\tomatotool/template\dao.class.tpl" */ ?>
<?php /*%%SmartyHeaderCode:12896508bafbbaf66c8-58325292%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5542e45585aa7f08d03fe2309c81d18452e414d1' => 
    array (
      0 => 'D:\\personalweb\\personal\\tomatoframework\\tomatotool/template\\dao.class.tpl',
      1 => 1351332124,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '12896508bafbbaf66c8-58325292',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_508bafbbb1f187_15170720',
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_508bafbbb1f187_15170720')) {function content_508bafbbb1f187_15170720($_smarty_tpl) {?><<?php ?>?php

/*
 * Tomato Framework
 * 
 * Copyright 2012-2012 Luax.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 * @link http://www.tomatoframework.com
 * @link http://www.luaxlou.com
 * @version $Id: CatalogService.class.php 28 2012-10-24 10:55:16Z luaxcn $
 */

/**
 * 
 * 
 * @package tomatoapp
 * @author Luax <luaxcn@gmail.com>
 */
class CatalogService
{
    /**
     *
     * @var CatalogDao
     */
    public $catalogDao;
 
    public function findAll()
    {
        return $this->catalogDao->findAll();
    }
    
    public function find($id)
    {
 
        return $this->catalogDao->find($id);
    }
    
    public function save($id)
    {
        return $this->catalogDao->find($id);
    }
    
    
    
    public function delete($id)
    {
 
        return $this->catalogDao->delete($id);
    }

}

?<?php ?>><?php }} ?>